<%--
  Created by IntelliJ IDEA.
  User: sgx
  Date: 2021/4/7
  Time: 19:25
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@page isELIgnored="false" %>
<%@taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html>
<head>
    <title>tag.jsp</title>
</head>
<body>

<form:form modelAttribute="user">

    表单标签库 model数据绑定jsp标签    <br>
    user.id: <form:input path="id"/> <br>
    user.name: <form:input path="name"/> <br>
<hr>
    传统EL表达式取值    <br>
    user.id: <input type="text" value="${user.id}"><br>
    user.name: <input type="text" value="${user.name}"><br>

</form:form>
</body>
</html>
